// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
//
// ███╗   ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗  ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██╔██╗ ██║██║   ██║   ██║   ██║██║     █████╗
// ██║╚██╗██║██║   ██║   ██║   ██║██║     ██╔══╝
// ██║ ╚████║╚██████╔╝   ██║   ██║╚██████╗███████╗
// ╚═╝  ╚═══╝ ╚═════╝    ╚═╝   ╚═╝ ╚═════╝╚══════╝
// ------------------------------------------------
//
// This file is automatically generated.
// Please do not edit these files manually.
//
// ------------------------------------------------

using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text.Json;
using System.Text.Json.Serialization;

#nullable restore
namespace Elastic.Clients.Elasticsearch.Nodes
{
	public sealed partial class ClusterStateUpdate
	{
		[JsonInclude]
		[JsonPropertyName("commit_time")]
		public Elastic.Clients.Elasticsearch.Duration? CommitTime { get; init; }

		[JsonInclude]
		[JsonPropertyName("commit_time_millis")]
		public long? CommitTimeMillis { get; init; }

		[JsonInclude]
		[JsonPropertyName("completion_time")]
		public Elastic.Clients.Elasticsearch.Duration? CompletionTime { get; init; }

		[JsonInclude]
		[JsonPropertyName("completion_time_millis")]
		public long? CompletionTimeMillis { get; init; }

		[JsonInclude]
		[JsonPropertyName("computation_time")]
		public Elastic.Clients.Elasticsearch.Duration? ComputationTime { get; init; }

		[JsonInclude]
		[JsonPropertyName("computation_time_millis")]
		public long? ComputationTimeMillis { get; init; }

		[JsonInclude]
		[JsonPropertyName("context_construction_time")]
		public Elastic.Clients.Elasticsearch.Duration? ContextConstructionTime { get; init; }

		[JsonInclude]
		[JsonPropertyName("context_construction_time_millis")]
		public long? ContextConstructionTimeMillis { get; init; }

		[JsonInclude]
		[JsonPropertyName("count")]
		public long Count { get; init; }

		[JsonInclude]
		[JsonPropertyName("master_apply_time")]
		public Elastic.Clients.Elasticsearch.Duration? MasterApplyTime { get; init; }

		[JsonInclude]
		[JsonPropertyName("master_apply_time_millis")]
		public long? MasterApplyTimeMillis { get; init; }

		[JsonInclude]
		[JsonPropertyName("notification_time")]
		public Elastic.Clients.Elasticsearch.Duration? NotificationTime { get; init; }

		[JsonInclude]
		[JsonPropertyName("notification_time_millis")]
		public long? NotificationTimeMillis { get; init; }

		[JsonInclude]
		[JsonPropertyName("publication_time")]
		public Elastic.Clients.Elasticsearch.Duration? PublicationTime { get; init; }

		[JsonInclude]
		[JsonPropertyName("publication_time_millis")]
		public long? PublicationTimeMillis { get; init; }
	}
}